﻿

using System;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace WCFModel.DataContract
{
    /// <summary>
    /// 学生
    /// </summary>
    [DataContract]
    public class Student
    {
        /// <summary>
        /// 学生ID
        /// </summary>
        [DataMember]
        public Guid StudentId { get; set; }

        /// <summary>
        /// 学生姓名
        /// </summary>
        [DataMember]
        public string Name { get; set; }

        /// <summary>
        /// 学生年龄
        /// </summary>
        [DataMember]
        public Int32 Age { get; set; }
    }
}
